package trucaso;
/*
 * Class to play locally against the computer.
 */


public class LocalClient extends Client {
	
	protected LocalClient(Deck d, CardZone c,Actions a,ScoreBoard sb,ChatPane cp) {
		super(d,c,a,sb,null);
		name = "CPU";
		name2 = "Filthy Human";
		getCards();
	}
	
	public void getCards() {
		for(int i=0;i<both.length;i++) {
			both[i] = deck.getRandomCard();
			if(i>2) { both[i].setVisible(true); }
		}
	}

}
